using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T2.Logging.Data
{
    public static class DataHelpers
    {
        public static SqlParameter GetParameter(string _name, SqlDbType _type, ParameterDirection _direction,
                Int32 _size)
        {
            SqlParameter param = new SqlParameter();
            param.ParameterName = _name;
            param.Size = _size;
            param.SqlDbType = _type;
            param.Direction = _direction;
            return param;
        }
    }
}


